<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:75:"D:\Wamp\wamp64\www\canny\public/../app/admin\view\contact\contact_edit.html";i:1532931433;s:76:"D:\Wamp\wamp64\www\canny\public/../app/admin\view\layout\edit_btn_group.html";i:1531444261;}*/ ?>
<form action="<?php echo url(); ?>" method="post" class="form_single">
    <div class="box">
        <div class="box-body">
            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        <label>公司名称</label>
                        <span class=""></span>
                        <input class="form-control" name="campany_name" placeholder="请输入文章标题名称" value="<?php echo (isset($info['campany_name']) && ($info['campany_name'] !== '')?$info['campany_name']:''); ?>" type="text">
                    </div>
                </div>

                <div class="col-md-6">
                    <div class="form-group">
                        <label>公司地址</label>
                        <span class=""></span>
                        <input class="form-control" name="adress" placeholder="请输入公司地址" value="<?php echo (isset($info['adress']) && ($info['adress'] !== '')?$info['adress']:''); ?>" type="text">
                    </div>
                </div>

                <div class="col-md-6">
                    <div class="form-group">
                        <label>公司邮箱</label>
                        <span class=""></span>
                        <input class="form-control" name="email" placeholder="请输入公司邮箱" value="<?php echo (isset($info['email']) && ($info['email'] !== '')?$info['email']:''); ?>" type="text">
                    </div>
                </div>

                <div class="col-md-6">
                    <div class="form-group">
                        <label>公司电话</label>
                        <span class=""></span>
                        <input class="form-control" name="phone" placeholder="请输入公司电话" value="<?php echo (isset($info['phone']) && ($info['phone'] !== '')?$info['phone']:''); ?>" type="text">
                    </div>
                </div>

                <div class="col-md-6">
                    <div class="form-group">
                        <label>公司QQ</label>
                        <span class=""></span>
                        <input class="form-control" name="qq" placeholder="请输入公司QQ" value="<?php echo (isset($info['qq']) && ($info['qq'] !== '')?$info['qq']:''); ?>" type="text">
                    </div>
                </div>
                
                <div class="col-md-6">
                    <div class="form-group">
                        <label>传真</label>
                        <span class=""></span>
                        <input class="form-control" name="fax_num" placeholder="请输入公司地址" value="<?php echo (isset($info['fax_num']) && ($info['fax_num'] !== '')?$info['fax_num']:''); ?>" type="text">
                    </div>
                </div>
                
                <div class="col-md-6">
                    <div class="form-group">
                        <label>技术咨询Email</label>
                        <span class=""></span>
                        <input class="form-control" name="technology_email" placeholder="请输入技术专用Email" value="<?php echo (isset($info['technology_email']) && ($info['technology_email'] !== '')?$info['technology_email']:''); ?>" type="text">
                    </div>
                </div>
                
                <div class="col-md-6">
                    <div class="form-group">
                        <label>招聘Email</label>
                        <span class=""></span>
                        <input class="form-control" name="join_email" placeholder="请输入招聘Email" value="<?php echo (isset($info['join_email']) && ($info['join_email'] !== '')?$info['join_email']:''); ?>" type="text">
                    </div>
                </div>
                
                <div class="col-md-6">
                    <div class="form-group">
                        <label>邮编</label>
                        <span class=""></span>
                        <input class="form-control" name="zip_code" placeholder="请输入邮政编码" value="<?php echo (isset($info['zip_code']) && ($info['zip_code'] !== '')?$info['zip_code']:''); ?>" type="text">
                    </div>
                </div>
                
<!--                <div class="col-md-6">
                    <div class="form-group">
                        <label>上传公司二维码</label>
                        <span class="">（请上传单张封面图片）</span>
                        <br/>
                        <?php $cover_id = (isset($info['cover_id']) && ($info['cover_id'] !== '')?$info['cover_id']:'0'); ?>
                        <?php echo widget('file/index', ['name' => 'cover_id', 'value' => $cover_id, 'type' => 'img']); ?>
                    </div>
                </div>-->

                <div class="box-footer">

                    <input type="hidden" name="id" value="<?php echo (isset($info['id']) && ($info['id'] !== '')?$info['id']:'0'); ?>"/>

                    <button  type="submit" class="btn ladda-button ajax-post" data-style="slide-up" target-form="form_single">
    <span class="ladda-label"><i class="fa fa-send"></i> 确 定</span>
</button>

<a class="btn" onclick="javascript:history.back(-1);return false;"><i class="fa fa-history"></i> 返 回</a>

                </div>

            </div>
        </div>
    </div>
</form>